//
//  MusicModel.swift
//  YYMusicDemo
//
//  Created by yuanyue on 2018/4/26.
//  Copyright © 2018年 yuanyue. All rights reserved.
//

import UIKit

class MusicModel: NSObject {
    
    var name = ""
    var filename = ""
    var lrcname = ""
    var singer = ""
    var singerIcon = ""
    var icon = ""
    
    func dict(dict : [String : String]) -> MusicModel {
        let model = MusicModel()
        model.name = dict["name"]!
        model.filename = dict["filename"]!
        model.lrcname = dict["lrcname"]!
        model.singer = dict["singer"]!
        model.singerIcon = dict["singerIcon"]!
        model.icon = dict["icon"]!
        return model
    }

}

// 歌词的Model
class MusicLrcModel: NSObject {
    
    var beginTime : TimeInterval = 0
    var endTime : TimeInterval = 0
    var lrcContent : String = ""
    
    
    
    
}
